package com.itheima.innerclass;

public class InnerClassDemo {

    public static void main(String[] args) {
        AbstractDemo ad = new AbstractDemo() {
            @Override
            public void cry() {
                System.out.println("cry");
            }
        };
    }
}
